<h1><?php echo $congress['Congress']['name'] ?></h1>
<h2>Fim do período de Inscrição de Artigos em <?php echo date('d/m/Y', strtotime($congress['Congress']['deadline_submission'])) ?></h2>

<div class="congresses view">
    <?php $i = 0; ?>
    <?php $class = 'class="altrow"'; ?>
    <dl class="congressesView">
        <dt <?php echo $i % 2 == 0 ? $class : '' ?>><?php __('Tema'); ?></dt>
        <dd <?php echo $i++ % 2 == 0 ? $class : '' ?>><?php echo $congress['Theme']['name']; ?>&nbsp;</dd>
        <dt <?php echo $i % 2 == 0 ? $class : '' ?>><?php __('Áreas Disponíveis'); ?></dt>
        <dd <?php echo $i++ % 2 == 0 ? $class : '' ?>>
            <?php
            foreach ($congress['Area'] as $area):
                echo $area['name'] . "</br>";
            endforeach;
            ?>
            &nbsp;
        </dd>

        <dt <?php echo $i % 2 == 0 ? $class : '' ?>><?php __('Número Máximo de Artigos por Autor'); ?></dt>
        <dd <?php echo $i++ % 2 == 0 ? $class : '' ?>><?php echo $congress['Congress']['max_articles_author']; ?>&nbsp;</dd>
        <dt <?php echo $i % 2 == 0 ? $class : '' ?>><?php __('Quantidade de Artigos que serão Selecionados'); ?></dt>
        <dd <?php echo $i++ % 2 == 0 ? $class : '' ?>><?php echo $congress['Congress']['selected_articles']; ?>&nbsp;</dd> 
        <dt <?php echo $i % 2 == 0 ? $class : '' ?>><?php __('Data Início de Submissões'); ?></dt>
        <dd <?php echo $i++ % 2 == 0 ? $class : '' ?>><?php echo date('d/m/Y', strtotime($congress['Congress']['start_submission_date'])); ?>&nbsp;</dd>
        <dt <?php echo $i % 2 == 0 ? $class : '' ?>><?php __('Data Fim de Submissões'); ?></dt>
        <dd <?php echo $i++ % 2 == 0 ? $class : '' ?>><?php echo date('d/m/Y', strtotime($congress['Congress']['deadline_submission'])); ?>&nbsp;</dd>
    </dl>
</div>
<div class="actions">
    <ul>
        <li><?php echo $html->link(__('Inscrever-se', true), array('action' => 'subscribe', $congress['Congress']['id'], 'true')); ?> </li>
    </ul>
</div>
